Optimal. Leaf size=325 \[ \frac {2 \left (a^2-2 b^2\right ) \sqrt {\cos (c+d x)} \csc (c+d x) E\left (\text {ArcSin}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{a^3 \sqrt {a+b} d \sqrt {\sec (c+d x)}}-\frac {2 (a+2 b) \sqrt {\cos (c+d x)} \csc (c+d x) F\left (\text {ArcSin}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{a^2 \sqrt {a+b} d \sqrt {\sec (c+d x)}}+\frac {2 b^2 \sqrt {\sec (c+d x)} \sin (c+d x)}{a \left (a^2-b^2\right ) d \sqrt {a+b \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.37, antiderivative size = 325, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4307, 2881,
3077, 2895, 3073} \begin {gather*} -\frac {2 (a+2 b) \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} F\left (\text {ArcSin}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{a^2 d \sqrt {a+b} \sqrt {\sec (c+d x)}}+\frac {2 b^2 \sin (c+d x) \sqrt {\sec (c+d x)}}{a d \left (a^2-b^2\right ) \sqrt {a+b \cos (c+d x)}}+\frac {2 \left (a^2-2 b^2\right ) \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} E\left (\text {ArcSin}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{a^3 d \sqrt {a+b} \sqrt {\sec (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2881
Rule 2895
Rule 3073
Rule 3077
Rule 4307
Rubi steps
\begin {align*} \int \frac {\sec ^{\frac {3}{2}}(c+d x)}{(a+b \cos (c+d x))^{3/2}} \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+b \cos (c+d x))^{3/2}} \, dx\\ &=\frac {2 b^2 \sqrt {\sec (c+d x)} \sin (c+d x)}{a \left (a^2-b^2\right ) d \sqrt {a+b \cos (c+d x)}}+\frac {\left (2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\frac {1}{2} \left (a^2-2 b^2\right )-\frac {1}{2} a b \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx}{a \left (a^2-b^2\right )}\\ &=\frac {2 b^2 \sqrt {\sec (c+d x)} \sin (c+d x)}{a \left (a^2-b^2\right ) d \sqrt {a+b \cos (c+d x)}}-\frac {\left ((a-b) (a+2 b) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}} \, dx}{a \left (a^2-b^2\right )}-\frac {\left (\left (-a^2+2 b^2\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1+\cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx}{a \left (a^2-b^2\right )}\\ &=\frac {2 \left (a^2-2 b^2\right ) \sqrt {\cos (c+d x)} \csc (c+d x) E\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{a^3 \sqrt {a+b} d \sqrt {\sec (c+d x)}}-\frac {2 (a+2 b) \sqrt {\cos (c+d x)} \csc (c+d x) F\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{a^2 \sqrt {a+b} d \sqrt {\sec (c+d x)}}+\frac {2 b^2 \sqrt {\sec (c+d x)} \sin (c+d x)}{a \left (a^2-b^2\right ) d \sqrt {a+b \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 11.61, size = 369, normalized size = 1.14 \begin {gather*} \frac {2 \left (\left (a b^2+\left (a^2-2 b^2\right ) (a+b \cos (c+d x))\right ) \sqrt {\sec ^2\left (\frac {1}{2} (c+d x)\right )} \sqrt {\sec (c+d x)} \sin (c+d x)-\sqrt {\cos ^2\left (\frac {1}{2} (c+d x)\right ) \sec (c+d x)} \left (2 \left (a^3+a^2 b-2 a b^2-2 b^3\right ) \sqrt {\frac {\cos (c+d x)}{1+\cos (c+d x)}} \sqrt {\frac {a+b \cos (c+d x)}{(a+b) (1+\cos (c+d x))}} E\left (\text {ArcSin}\left (\tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {-a+b}{a+b}\right )-2 a \left (a^2-a b-2 b^2\right ) \sqrt {\frac {\cos (c+d x)}{1+\cos (c+d x)}} \sqrt {\frac {a+b \cos (c+d x)}{(a+b) (1+\cos (c+d x))}} F\left (\text {ArcSin}\left (\tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {-a+b}{a+b}\right )+\left (a^2-2 b^2\right ) \cos (c+d x) (a+b \cos (c+d x)) \sec ^2\left (\frac {1}{2} (c+d x)\right ) \tan \left (\frac {1}{2} (c+d x)\right )\right )\right )}{a^2 \left (a^2-b^2\right ) d \sqrt {a+b \cos (c+d x)} \sqrt {\sec ^2\left (\frac {1}{2} (c+d x)\right )}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1456\) vs.
\(2(297)=594\).
time = 0.30, size = 1457, normalized size = 4.48
method | result | size |
default | \(\text {Expression too large to display}\) | \(1457\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sec ^{\frac {3}{2}}{\left (c + d x \right )}}{\left (a + b \cos {\left (c + d x \right )}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2}}{{\left (a+b\,\cos \left (c+d\,x\right )\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________